package com.nt.thah.dao;

import com.nt.thah.entity.CarbonAccount;
import com.nt.thah.requestparam.BaseParam;
import org.apache.ibatis.annotations.Mapper;

/**
* @Description: 碳账户
* @author: ls
* @Date: 2023-08-17 10:31:06
*/
@Mapper
public interface CarbonAccountDao {

    Integer getTotalCarbon(BaseParam param);

    CarbonAccount getAccount(Integer userId);

    int save(CarbonAccount ca);

    int update(CarbonAccount ca);

    Integer checkIsExist(Integer userId);

}
